package com.gaofans.nrpc.server.service;

import com.gaofans.nrpc.common.protocol.RpcRequest;
import io.netty.channel.Channel;


/**
 * rpc请求处理器
 * @author GaoFans
 */
public interface ServiceHandler {

    /**
     * 处理rpc请求
     * @param request
     * @param channel
     */
    void handle(RpcRequest request, Channel channel);

}
